package com.xx.xunyou.dao.item.comment;

import com.xx.xunyou.entity.item.comment.XunyouComment;
import com.xx.xunyou.entity.item.comment.XunyouCommentExample;
import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface XunyouCommentDAO {
    long countByExample(XunyouCommentExample example);

    int deleteByExample(XunyouCommentExample example);

    int deleteByPrimaryKey(Integer commentId);

    int insert(XunyouComment record);

    int insertSelective(XunyouComment record);

    List<XunyouComment> selectByExample(XunyouCommentExample example);

    XunyouComment selectByPrimaryKey(Integer commentId);

    int updateByExampleSelective(@Param("record") XunyouComment record, @Param("example") XunyouCommentExample example);

    int updateByExample(@Param("record") XunyouComment record, @Param("example") XunyouCommentExample example);

    int updateByPrimaryKeySelective(XunyouComment record);

    int updateByPrimaryKey(XunyouComment record);
}